
public class GetMenuByPrice implements Command{


	InformationAggregator agg;
	double price;
	
	public GetMenuByPrice(InformationAggregator agg, double price)
	{
		this.agg = agg;
		this.price = price;
	}
	
	public Menu execute()
	{		
		return agg.getMenu().getPriceMenu(price);
	}
}
